package com.example.demo.param;

import com.example.demo.model.PayType;

/**
 * 支付请求参数
 */
public class PaymentParam {
    private String orderNumber;//订单号
    private String userId;//用户ID
    private double totalAmount;//总金额，单位分
    private double payAmount;//待支付金额
    private PayType payType;//支付类型

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public double getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(double totalAmount) {
        this.totalAmount = totalAmount;
    }

    public double getPayAmount() {
        return payAmount;
    }

    public void setPayAmount(double payAmount) {
        this.payAmount = payAmount;
    }

    public PayType getPayType() {
        return payType;
    }

    public void setPayType(PayType payType) {
        this.payType = payType;
    }
}
